
/**   
 * @Title: IActivitySupport.java 
 * @Package: com.rename.icode.activity 
 * @Description: Administrator版权所有
 * @author Administrator  
 * @date 2015-2-12 下午5:17:48 
 * @version  
 */


package com.rename.icode.activity;

import android.app.ProgressDialog;
import android.content.Context;

/** 
 * @Description 实现了...功能
 * @author Administrator
 * @date 2015-2-12 下午5:17:48 
 * @version V1.0
 */

public interface IActivitySupport {
	
	public abstract void stopService();

	public abstract void startConnService();//开启连接服务
	
	public abstract void startGeneralService();

	public abstract boolean validateInternet();

	public abstract boolean hasInternetConnected();

	public abstract void isExit();

	public abstract boolean hasLocationGPS();

	public abstract boolean hasLocationNetWork();

	public abstract void showToast(String text, int longint);

	public abstract void showToast(String text);

	public abstract ProgressDialog getProgressDialog();

	public abstract Context getContext();
	
	public abstract String getVersion();
	
	public abstract ICodeApplication getICodeApplication();
}
